home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / ophel001.swf / scripts / frame_1123 / DoAction.as
Encoding:
Text File  |  2010-08-12  |  2.3 KB  |  135 lines

  1. if(eval("/Variables:Colonne01") == true)
  2. {
  3.    if(eval("/Variables:Colonne01Joue") == false)
  4.    {
  5.       tellTarget(Colonne01)
  6.       {
  7.          play();
  8.       }
  9.    }
  10.    else if(eval("/Variables:Reset") == true)
  11.    {
  12.       tellTarget(Colonne01)
  13.       {
  14.          gotoAndStop("Reset");
  15.          play();
  16.       }
  17.    }
  18.    else
  19.    {
  20.       tellTarget(Colonne01)
  21.       {
  22.          gotoAndStop("Fin");
  23.       }
  24.    }
  25. }
  26. if(eval("/Variables:Colonne02") == true)
  27. {
  28.    if(eval("/Variables:Colonne02Joue") == false)
  29.    {
  30.       tellTarget(Colonne02)
  31.       {
  32.          play();
  33.       }
  34.    }
  35.    else if(eval("/Variables:Reset") == true)
  36.    {
  37.       tellTarget(Colonne02)
  38.       {
  39.          gotoAndStop("Reset");
  40.          play();
  41.       }
  42.    }
  43.    else
  44.    {
  45.       tellTarget(Colonne02)
  46.       {
  47.          gotoAndStop("Fin");
  48.       }
  49.    }
  50. }
  51. if(eval("/Variables:Colonne03") == true)
  52. {
  53.    if(eval("/Variables:Colonne03Joue") == false)
  54.    {
  55.       tellTarget(Colonne03)
  56.       {
  57.          play();
  58.       }
  59.    }
  60.    else if(eval("/Variables:Reset") == true)
  61.    {
  62.       tellTarget(Colonne03)
  63.       {
  64.          gotoAndStop("Reset");
  65.          play();
  66.       }
  67.    }
  68.    else
  69.    {
  70.       tellTarget(Colonne03)
  71.       {
  72.          gotoAndStop("Fin");
  73.       }
  74.    }
  75. }
  76. if(eval("/Variables:Colonne04") == true)
  77. {
  78.    if(eval("/Variables:Colonne04Joue") == false)
  79.    {
  80.       tellTarget(Colonne04)
  81.       {
  82.          play();
  83.       }
  84.    }
  85.    else if(eval("/Variables:Reset") == true)
  86.    {
  87.       tellTarget(Colonne04)
  88.       {
  89.          gotoAndStop("Reset");
  90.          play();
  91.       }
  92.    }
  93.    else
  94.    {
  95.       tellTarget(Colonne04)
  96.       {
  97.          gotoAndStop("Fin");
  98.       }
  99.    }
  100. }
  101. if(eval("/Variables:Colonne05") == true)
  102. {
  103.    if(eval("/Variables:Colonne05Joue") == false)
  104.    {
  105.       tellTarget(Colonne05)
  106.       {
  107.          play();
  108.       }
  109.    }
  110.    else if(eval("/Variables:Reset") == true)
  111.    {
  112.       tellTarget(Colonne05)
  113.       {
  114.          gotoAndStop("Reset");
  115.          play();
  116.       }
  117.    }
  118.    else
  119.    {
  120.       tellTarget(Colonne05)
  121.       {
  122.          gotoAndStop("Fin");
  123.       }
  124.    }
  125. }
  126. if(eval("/Variables:SalleColonneVue") == false)
  127. {
  128.    set("/Variables:SalleColonneVue",true);
  129.    tellTarget(ClipVoix)
  130.    {
  131.       gotoAndStop("Creepy");
  132.       play();
  133.    }
  134. }
  135.